<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Base.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SalomonWebsite.Default" %>

<%@ Register Src="~/UC/ImgFocus.ascx" TagName="ImgFocus" TagPrefix="ImgFocusUC" %>
<%@ Register Src="~/UC/WeiboSina.ascx" TagName="WeiboSina" TagPrefix="WeiboSinaUC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head_Title" runat="server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Head_Meta" runat="server">
<meta http-equiv="keywords" content="<%=SiteKeywords %>" />
<meta name="description" content="<%=SiteDescription %>" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Head_Css" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Head_Script" runat="server">
	<script type="text/javascript" src="/Scripts/Comm.js"></script>
	<script type="text/javascript" src="/Scripts/Class.NoobSlide.js"></script>
	<script type="text/javascript" src="/Scripts/Class.CommSlide.js"></script>
<script type="text/javascript">
    window.addEvent('domready', function() {
        var nS = new NoobSlide({
            box: $('FocusBox'),
            items: $$('#FocusBox a'),
            interval: 3000,
            size: 998,
            fxOptions: {
                duration: 500,
                wait: false
            },
            addButtons: {
                previous: $('MeaPrecedentPrev'),
                next: $('MeaPrecedentNext')
            }
        });

        var cS = new CommSlide({
            box: $('CommList'),
            items: $$('#CommList li'),
            size: 984,
            handles: $$('.CommCtrlItem'),
            addButtons: {
                previous: $('CommCtrlPrev'),
                next: $('CommCtrlNext')
            },
            onWalk: function(currentItem, currentHandle) {
                this.handles.removeClass('CommCtrlItemSel');
                currentHandle.addClass('CommCtrlItemSel');
            }
        });
    });
    
</script>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Body_Top" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Body_Content" runat="server">
<ImgFocusUC:ImgFocus id="ImgFocus" runat="server" />
<div class="Container">
	<div class="Comm">
		<div class="CommGroup" runat="server" id="CommGroup">
			<ul id="CommList" class="CommList <%=strCss %>" >
			    <asp:Repeater ID="repLi" runat="server" EnableViewState="false">
			    <ItemTemplate>
			        <%#Eval("LiStart") %>
	                <div class="MeaCoul">
				        <div class="MeaCoulImg">
					        <a href="/Ad-3-<%#Eval("PKID") %>.aspx" title="<%#Eval("AdTitle") %>"><img alt="<%#Eval("AdTitle") %>" src="<%=ImageWeb %><%#Eval("ImgURL") %>" /></a>
				        </div>
				        <div class="MeaCoulTxt">
					        <h2><a href="/Ad-3-<%#Eval("PKID") %>.aspx" title="<%#Eval("AdTitle") %>"><%#Eval("AdTitle") %></a></h2>
					        <p><a href="/Ad-3-<%#Eval("PKID") %>.aspx" title="<%#Eval("AdTitle") %>"><%#Eval("Keywords") %></a></p>
				        </div>
			        </div>
			        <%#Eval("LiEnd") %>
			    </ItemTemplate>
			    </asp:Repeater>
			</ul>
		</div>
		<div class="CommCtrl" id="CommCtrl" runat="server" >
			<a href="javascript:void(0);" id="CommCtrlPrev" class="CommCtrlArc"><span></span></a>
			<div>
				<%=strCommCtrlItem %>
			</div>
			<a href="javascript:void(0);" id="CommCtrlNext" class="CommCtrlArc"><span></span></a>
		</div>
		
	    <WeiboSinaUC:WeiboSina id="WeiboSina" runat="server" />
	    
	</div>
	
</div>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Body_Foot" runat="server">
</asp:Content>
